package com.clickpaas.materialsprocurement.service;

import com.bizcloud.ipaas.t0ba0ba6afb694026b6b4e4e048af2b43.d20210202135416.model.UnitDTOResponse;
import com.clickpaas.materialsprocurement.entity.UnitEntity;

import java.util.List;

public interface UnitService {

    /**
     * 获取单位数据
     * @return
     */
    public List<UnitDTOResponse> getUnitInfo(UnitEntity unitEntity);

    /**
     * 单位数据转换为bean
     * @return
     */
    public List<UnitEntity> unitDataConver(List<UnitDTOResponse> list);

}
